package cn.genmer.record.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 记录
 */
@Data
@TableName("code_record")
public class CodeRecord {
    @TableId
    private String id;
    private String operatorId;
    private String operatorName;
    private LocalDateTime createTime;
    private String ipAddress;
    // // 0-新建 1-修改 2-优化 3-重构 4-其他
    private Integer type;
    private Integer affecRows;
    private String projectName;
    @TableField("`desc`")
    private String desc;
}
